home *** CD-ROM | disk | FTP | other *** search
/ Aminet 25 / Aminet 25 (1998)(GTI - Schatztruhe)[!][Jun 1998].iso / Aminet / comm / thor / SafeEdit.readme < prev    next >
Text File  |  1998-05-05  |  2KB  |  61 lines

  1. Short:    Prevents posting unedited messages with Thor
  2. Author:   Neil Bothwick <neil@wirenet.co.uk>
  3. Uploader: Neil Bothwick <neil@wirenet.co.uk>
  4. Type:     comm/thor
  5.  
  6. Thor's asynchronous message editing is extremely useful, but there is
  7. a disadvantage. If you Send Events while a message is being edited,
  8. the unedited version is sent and the file you save is lost.
  9.  
  10. SafeEdit.thor is the solution. It freezes the event before starting the
  11. editor and activates it when you exit the editor, while still
  12. retaining all the advantages of asynchronous editing.
  13.  
  14.  
  15. Installation
  16. ============
  17.  
  18. Copy SafeEdit.thor to {ThorPath}/rexx
  19. Go into Global Config/Message options and set the external editor to
  20. Run >NIL: rexx/SafeEdit.thor
  21. Open a shell, CD to the Thor directory and type the following lines:
  22.  
  23. protect rexx/SafeEdit.thor +s
  24. setenv THOR/Editor [editor command]
  25. setenv ENVARC:THOR/Editor [editor command]
  26.  
  27. where [editor command] is the command used to start your editor in
  28. "sticky" mode. For the GoldED quickstarter use "C:Ed STICKY".
  29.  
  30. The file to be edited will be added to the end of this line. If you
  31. have an editor than doesn't accept the file in this position, mail me
  32. with the syntax needed and I'll revise the script where necessary.
  33.  
  34.  
  35. Disclaimer
  36. ==========
  37.  
  38. This script works for me. I guarantee that it will work for you
  39. whenever it works, but at no other time.
  40.  
  41.  
  42. Problems?
  43. =========
  44.  
  45. If SafeEdit.thor doesn't freeze the event when editing, make sure your
  46. editor command includes whatever option is needed to make the editor
  47. sticky. You can test this my typing the command in a shell, if the
  48. shell prompt doesn't return until you quit the editor the command
  49. should work. Should you still have problems, mail me with exact
  50. details.
  51.  
  52.  
  53. ============================= Archive contents =============================
  54.  
  55. Original  Packed Ratio    Date     Time    Name
  56. -------- ------- ----- --------- --------  -------------
  57.     1734     865 50.1% 27-Mar-98 16:29:08  SafeEdit.readme
  58.     1922     927 51.7% 24-Mar-98 15:31:06  SafeEdit.thor
  59. -------- ------- ----- --------- --------
  60.     3656    1792 50.9% 28-Mar-98 19:11:14   2 files
  61.